package com.xxxx.server.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 学生打卡表
 * </p>
 *
 * @author zhoubin
 * @since 2022-06-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_sdaka")
@ApiModel(value="Sdaka对象", description="学生打卡表")
public class Sdaka implements Serializable {

    private static final long serialVersionUID = 1L;

    @Excel(name="序号")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;


    private Integer SDid;

    @ApiModelProperty(value = "姓名")
    @TableField(exist = false)
    @Excel(name = "姓名")
    private String name;

    @ApiModelProperty(value = "学院名称")
    @TableField(exist = false)
    @Excel(name = "学院名称")
    private String coname;

    @ApiModelProperty(value = "班级名称")
    @TableField(exist = false)
    @Excel(name = "班级名称")
    private String clname;

    @ApiModelProperty(value = "现居住地")
    @Excel(name="现居住地")
    private String address;

    @ApiModelProperty(value = "行动轨迹")
    @Excel(name="行动轨迹")
    private String route;

    @ApiModelProperty(value = "体温")
    @Excel(name="体温")
    private Integer temp;

    @ApiModelProperty(value = "是否不适")
    @Excel(name="是否不适")
    private Integer fine;

    @ApiModelProperty(value = "是否出省")
    @Excel(name="是否出省")
    private Integer leaveGz;

    @ApiModelProperty(value = "是否出国")
    @Excel(name="是否出国")
    private Integer leaveChina;

    @ApiModelProperty(value = "是否感染")
    @Excel(name="是否感染")
    private Integer ganran;

    @ApiModelProperty(value = "是否曾确诊为新冠患者或密接者")
    @Excel(name="是否曾确诊为新冠患者或密接者")
    private Integer mijie;

    @ApiModelProperty(value = "其他事项")
    @Excel(name="其他事项")
    private String other;

    @ApiModelProperty(value = "寝室")
    @Excel(name="是否修改寝室")
    private Integer room;

    @ApiModelProperty(value = "重要信息")
    @Excel(name="重要信息")
    private String importance;

    @ApiModelProperty(value = "创建时间")
    @Excel(name="创建时间",width = 20,format = "yyyy-MM-dd")
    private LocalDateTime creatTime;

    @ApiModelProperty(value = "修改时间")
    @Excel(name="修改时间",width = 20,format = "yyyy-MM-dd")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "人数")
    @TableField(exist = false)
    private int num;



}
